﻿using UnityEngine;
using System.Collections;

public class Rope {

	GameObject rope1;
	GameObject rope2;
	GameObject rope3;
	public void Load()
	{
		rope1 = Graphic.Draw ("Rope1", new Vector2 (1280, 10), "IMG/rope");
		rope1.transform.position = new Vector3 (0, 300, 3);
		rope2 = Graphic.Draw ("Rope2", new Vector2 (1280, 10), "IMG/rope");
		rope2.transform.position = new Vector3 (0, -350, 3);
		rope2.tag = "day2";
		BoxCollider A = rope2.AddComponent<BoxCollider> () as BoxCollider;
		A.size = new Vector2 (1280, 10);

//		rope3 = Graphic.Draw ("Rope3", new Vector2 (1280, 10), "IMG/rope");
//		rope3.transform.position = new Vector3 (0, -520, 3);
//		rope3.tag = "day3";
//		BoxCollider B = rope3.AddComponent<BoxCollider> () as BoxCollider;
//		B.size = new Vector2 (1280, 10);

	}
}
